﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TangLiveRecorder.Utils
{
    internal class UrlHelper
    {
        public static string GetPlatform(string url)
        {
            //TikTokOutlined,BilibiliOutlined
            if (url.Contains("douyin.com"))
            {
                return "抖音";
            }
            else if (url.Contains("bilibili.com"))
            {
                return "哔哩哔哩";
            }
            else
            {
                return "未知";
            }
        }
    }
}
